package com.springboot.experiment1;

import org.springframework.boot.Banner;
import org.springframework.boot.ImageBanner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.core.env.Environment;
import org.springframework.core.io.ClassPathResource;

import javax.swing.*;
import java.io.PrintStream;

@SpringBootApplication
public class Experiment1Application {

    public static void main(String[] args) {
        SpringApplication app=new SpringApplication(Experiment1Application.class);

/*        app.setBannerMode(Banner.Mode.CONSOLE);
        Banner banner=new ImageBanner(new ClassPathResource("banner.png"));
        app.setBanner(banner);*/
        app.run(args);

    }

}
